﻿using System.Runtime.Serialization;

namespace ExplorerService.Common.DataContracts.Operations.OperationProgress
{
    /// <summary>
    /// Operation progress that marks the end of the operation (successful)
    /// </summary>
    [KnownType(typeof(OperationCanceled))]
    [DataContract]
    public class OperationCompleted : OperationProgress
    {
        /// <summary>
        /// Stores the new state of the isolated storage file
        /// </summary>
        [DataMember]
        public IsolatedStorageInformation NewIsolatedStorageInformation { get; set; }
    }
}